home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / comp-sys-sun-faq < prev    next >
Encoding:
Internet Message Format  |  1993-06-04  |  65.0 KB

  1. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!paperboy.osf.org!think.com!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!rutgers!news.cs.indiana.edu!babbage.ece.uc.edu!ra.ece.uc.edu!montjoy
  2. From: montjoy@thor.ece.uc.edu (Rob Montjoy)
  3. Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc,comp.unix.solaris,comp.answers,news.answers
  4. Subject: FAQ: Sun Computer Administration Frequently Asked Questions
  5. Summary: Answers to questions which appear in comp.sys.sun.*
  6. Keywords: Sun Computer Admin FAQ
  7. Message-ID: <comp-sys-sun-admin_739234437@babbage.ece.uc.edu>
  8. Date: 4 Jun 93 22:54:00 GMT
  9. Expires: 2 Jul 1993 22:53:57 GMT
  10. Sender: montjoy@thor.ece.uc.edu (Rob Montjoy)
  11. Followup-To: poster
  12. Distribution: inet
  13. Organization: University of Cincinnati
  14. Lines: 1718
  15. Approved: news-answers-request@MIT.Edu
  16. Supersedes: <comp-sys-sun-admin_737912336@babbage.ece.uc.edu>
  17. NNTP-Posting-Host: ra.ece.uc.edu
  18. Status: RO
  19. Originator: montjoy@ra.ece.uc.edu
  20. Xref: senator-bedfellow.mit.edu comp.sys.sun.admin:16071 comp.sys.sun.misc:9192 comp.unix.solaris:4251 comp.answers:878 news.answers:9074
  21.  
  22. Archive-name: comp-sys-sun-faq
  23. Last-modified: 1993/03/27
  24. Version: 1.3
  25.  
  26. Frequently Asked Questions for Comp.sys.sun.admin
  27.  
  28. Last update March 27 1993
  29.  
  30. This is a collection of common questions posted to the comp.sys.sun.*
  31. hierarchy.
  32.  
  33. Please send corrections or submissions to "Rob.Montjoy@UC.EDU". Mark
  34. the Subject as Sun FAQ.
  35.  
  36.  
  37. Notes:    As of this writing almost all of these questions apply
  38.           to SunOS versions up to 4.1.3. SunOS 5.x questions
  39.           will start appearing gradually as more people start
  40.           installing SunOS 5.x(Solaris 2.x). 
  41.  
  42.     I am looking for suggestions on how to split this FAQ into
  43.     sections. These sections should follow the comp.sys.sun.* 
  44.     newsgroups(app, hardware, admin, misc, and wanted) and
  45.     section on bettering Sun Security. Basically, what
  46.     will end up with is a FAQ on each subject. Each
  47.     FAQ will have a Solaris1.x Section, a Solaris2x section,
  48.     and a section common to both.
  49.  
  50.     I will probably need some volunteers to help coordinate
  51.     this undertakeing.. Send suggestion to the usual address.
  52.  
  53.  
  54. [Thanks to everyone who has contributed to the list with additions and
  55.  corrections.  A very special thanks to Guy Harris (guy@auspex.com),
  56.  who has provided a great deal of much appreciated input...]
  57.  
  58.  
  59. This article includes answers to the following questions, which are loosely
  60. grouped into categories. Questions marked with a '+' indicate questions
  61. new to this issue; those with significant changes of content since the 
  62. last issue are marked by '!'.
  63.  
  64.  
  65.                 Questions
  66.  
  67.  1)      How to get DNS working when not running NIS ?
  68.  2)     How to get DNS to be used when running NIS ?
  69.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  70.  4)       Can I use AnswerBook under X11R5?
  71.  5)     What does "NFS write error X" mean?
  72.  6)    How do I find the amount of memory installed or other
  73.     system configuration information?
  74.  7)     Where can I get a version of ftp that does logging?
  75.  8)      Where can one get SunOS patches? Where can I get patch 100xxx-xx?
  76.  9)      How to setup Openwindows Calendar Manager in a distributed
  77.     environment?
  78. 10)     Why does the talk command fail between SunOS
  79.     and any other manufacturer's equipment(like DEC)? 
  80. 11)      How do I setup "anonymous" ftp?
  81. 12)!    How come yppasswdd does not automatically update the yp maps?
  82. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  83. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  84. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  85.         model?
  86. 16)     How can I turn my Sun3 into an X-Terminal?
  87. 17)    Why is my console login prompt garbled or in some strange 
  88.     alphabet after upgrading to 4.1.3?
  89. 18)    Why are the "random" missing services at boot time(even
  90.     though the services are in the /etc/services file or NIS map)?
  91. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  92.     a reasonable price)?
  93. 20)!      What is "archie"?
  94. 21)    How do I synchronize time between several Suns?
  95. 22)      What is the phone number for Sun Express and other numbers of importance
  96.     to Sun Users? 
  97. 23)     How do I join sun related  mailing lists?
  98. 24)    How do I use Mac floppies in a SUN drive?
  99. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  100. 26)    Why is my biff not "biffing" when using biff in a networked
  101.     environment?
  102. 27)    How do I disable L1-A(STOP-A) or re-map it?
  103. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  104. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  105. 30)    What are the guidelines for setting up swap space ?
  106. 31)    What are the general guidelines for maxusers to be set to on machine X?
  107. 32)    What does "zsN: silo overflow" mean?
  108. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  109.     signify?
  110. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  111. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  112.     connection to some non-Sun machine; it won't log in.  What's wrong?
  113. 36)    Do the Sun serial ports support RTS/CTS flow control?
  114. 37)    How do I specify that a serial port should, or should not, ignore the
  115.     state of the Carrier Detect line?
  116. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  117.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  118. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  119.     Control, and Esc keys inconvenient.  How do I remedy this?
  120. 40)      How can I move keys around on a Sun keyboard, for example exchanging the
  121.     Caps Lock and Control keys on a Type 5 keyboard?
  122. 41)       My Sun doesn't have an ANSI C compiler.  How can I get one?
  123. 42)      How do I change the time zone setting on my machine?
  124. 43)    I'm getting messages that say one of the following:
  125.          proc: table is full    and/or
  126.             file: table is full    and/or
  127.             dquot: table is full     and/or
  128.             inode: table is full
  129.          What do these errors mean, and how do I fix the problem?
  130. 44)      Blank at present.
  131. 45)      How do I run X11R5 applications under Openwindows or Openwindows 
  132.     applications under X11R5?
  133. 46)      Where do I find a "restricted" shell for SunOS?
  134. 47)      Will SunOS 4.1.x binaries run under SunOS 5.x?
  135. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  136.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  137.     _get_applicationShellWidgetClass). What is the Problem?
  138. 49)      What is Solaris?
  139. 50)     What does the "nres_gethostbyaddr !=" error mean?
  140. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  141.         how do I repair it?
  142. 52)    What do the following undefined symbols mean(dlopen, and dlclose)?
  143. 53)    What does "No network locking on host" mean after upgrading to
  144.     Solaris 2.0?
  145. 54)    Does Password Aging work with NIS(YP) ?
  146. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  147. 56)    How do I join the Sun User Group(SUG)?
  148. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  149. 58)      Where are dump and restore under Solaris 2.x?
  150. 59)      How do I make the numeric keypad on a type 5 keyboard work with xterm?
  151. 60)       How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  152.     under Openwindows 3.0?
  153. 61)       Which Sun models run which versions of SunOS?
  154. 62)      My rdump is failing with a "Protocol botched" message. What do I do?
  155. 63)!    Table of Solaris2.x commands and their Solaris1.x equivalents?
  156. 64)     How do I setup DNS on Solaris2.x?
  157. 65)     Can a SPARCclassic or LX run SunOS 4.1.3?
  158.  
  159.  
  160.                 Answers
  161.  
  162.  1)     How to get DNS working when not running NIS ?
  163.  
  164.     Note: Solaris2.x users should see question 64..
  165.     
  166.         The "normal" behavior of a hostname lookup under NIS is to
  167.         consult the NIS hosts map and then DNS (if configured). If
  168.     you are not running NIS the system will only look in 
  169.     the /etc/hosts file. 
  170.  
  171.     You have two options to correct this situation:
  172.  
  173.         A) Re-build shared libraries by installing the
  174.            shlib custom option and one of the many 
  175.            "bind" resolver library packages available
  176.            for SunOS. You can only do this if you are 
  177.            running SunOS version 4.1 or greater. 
  178.  
  179.            If you want to do it under 4.0.3 you
  180.            need to get the patches available from
  181.            ftp.uu.net in /systems/sun/sun-fixes. The files
  182.            you will need are as follows:
  183.  
  184.             1) lib.msg
  185.             2) libc_pic.a.sun3 or libc_pic.a.sun4
  186.             3) libc_resolv.so.sun3 or libc_resolv.so.sun4
  187.  
  188.            There should be a README in the same directory 
  189.            explaining what these files are.
  190.            
  191.  
  192.         B) Run NIS with the "hosts" maps only.
  193.  
  194.     
  195.     Option A is the "hardest" to implement. It requires
  196.     that you change all the shared libcs on the all
  197.     machines that you want name resolving on. Also, it
  198.     "breaks" several statically linked commands such as
  199.     mount and rcp. If you are under Software maintenance
  200.     you may be able to get a "dynamically" linked "mount".
  201.     
  202.     Complete directions for installing DNS without
  203.     NIS can be found in the bindon4.1.shar file or 
  204.     the resolv+ tar file. 
  205.  
  206.     Here is a list of the software one can use to modify your
  207.     shared libraries to use DNS without NIS.
  208.  
  209.         bindon41.shar is on qiclab.scn.rain.com in the file
  210.                     /pub/network/bindon41.shar.Z
  211.             bind 4.8.3 is on okeeffe.cs.berkeley.edu in the file
  212.                 /4.3/bind.4.8.3.tar.Z
  213.  
  214.             resolv+ is on liasun3.epfl.ch in file 
  215.                 /pub/net/dns/resolv+-2.1-beta.tar.Z
  216.  
  217.         Note: that you can still use NIS for other things in environment,
  218.               such as passwd, and group maps.
  219.  
  220.     Option B is the "easiest" of the two to implement. It
  221.     just requires you to run NIS and change the "all"
  222.     line /var/yp/Makefile to "all:    hosts". Also,
  223.     it does not require any change to the shared libraries.
  224.     It does not "break" anything. You can install
  225.     operating system patches that require updating
  226.     the shared libraries without having to remake the
  227.     shared libraries. 
  228.  
  229.  
  230.  
  231.  2)     How to get DNS to be used when running NIS ?
  232.  
  233.     First setup the appropriate /etc/resolv.conf file.
  234.     Something like this should do the "trick". 
  235.  
  236.     ;
  237.     ; Data file for a client.
  238.     ;
  239.     domain        local domain 
  240.     nameserver    address of primary domain nameserver
  241.     nameserver    address of secondary domain nameserver 
  242.  
  243.     where:    "local domain" is the domain part of the hostnames.
  244.          For example, if your hostname is "thor.ece.uc.edu"
  245.          your "local domain" is "ece.uc.edu".
  246.  
  247.     You will need to put a copy of this resolv.conf on
  248.     all NIS(YP) servers including slaves.
  249.  
  250.     Under SunOS 4.1 and greater, change the "B=" at the top
  251.     of the /var/yp/Makefile to "B=-b" and setup NIS in the 
  252.     usual fashion.   
  253.  
  254.     Under 4.0.x, edit the Makefile or apply the following "diff":
  255.  
  256. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  257. --- Makefile    Wed Jan 10 13:22:01 1990
  258. ***************
  259. *** 63 ****
  260. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  261. --- 63 ----
  262. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  263. ***************
  264. *** 66 ****
  265. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  266. --- 66 ----
  267. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  268.  
  269.  
  270.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  271.  
  272.     On the Client machines:
  273.  
  274.         A) mount /var/spool/mail with the no attribute caching
  275.            option.
  276.         
  277.            An example, fstab line would be the following:
  278.  
  279.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  280.  
  281.         B) Use a sendmail.cf that forces all mail to be delivered
  282.            by the mailhost. 
  283.  
  284.            One such file is available via anonymous ftp to 
  285.            thor.ece.uc.edu. Get the file 
  286.  
  287.                 /pub/sun-faq/sendmail.client.cf
  288.  
  289.            Do not use the OR option that Sun provides. It is broken
  290.            in many ways.
  291.  
  292.     On the server machine:
  293.     
  294.         A) Setup MX records pointing to the mailhost for
  295.            all client machines.
  296.  
  297.         B) Edit the /etc/exports file to export /var/spool/mail
  298.            to the mail client machines. You may want
  299.            to use a netgroup for this purpose.
  300.  
  301.         C) Setup the /etc/sendmail.cf on the server recognize
  302.            that mail to/from a client is "local".
  303.  
  304.            One such file is available via anonymous ftp to 
  305.            thor.ece.uc.edu. Get the file 
  306.  
  307.                 /pub/sun-faq/sendmail.server.cf
  308.  
  309.         
  310.     Note:     You may want to install IDA sendmail instead of Suns
  311.         stock sendmail. 
  312.  
  313.  
  314.  
  315.  4)     Can I use AnswerBook under X11R5?
  316.  
  317.     AnswerBook in its current form requires the Openwindows
  318.     server. It uses the NeWS extensions(Postscript) extensions
  319.     to this server to display the Answerbook files.
  320.  
  321.     To use AnswerBook under X11R5 you will need to replace the 
  322.     docviewer program with xdocviewer.  Xdocviewer does not support
  323.     all the options that the "real" docviewer supports such
  324.     as "hypertext" links.
  325.  
  326.     To install "xdocviewer" you will need the following programs.
  327.  
  328.         Perl-4 patchlevel 35  
  329.         Ghostscript 2.4 or above
  330.         GSpreview 2.1   or above  or Ghostview 1.3   or above
  331.  
  332.         All of these are available from prep.ai.mit.edu. They are 
  333.         located in the /pub/gnu directory.
  334.  
  335.         Finally, you need xdocviewer. It is available from the
  336.         /contrib directory on host export.lcs.mit.edu.
  337.  
  338.  
  339.  5)     What does "NFS write error X" mean?
  340.  
  341.         You can lookup the error codes in /usr/include/sys/errno.h.
  342.  
  343.         Two common NFS error codes are 13 - "permission denied" and 70 -
  344.         "stale file handle".
  345.  
  346.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  347.     it can occur because someone has changed the /etc/exports
  348.     entry to disallow the client after the client has already
  349.     been granted permission to perform this operation.
  350.  
  351.         Error code 70 occurs when a fileserver gets rebooted and
  352.     the server NFS "file handle" for a particular filesystem
  353.     changes. The "file handle" can be changed under the following
  354.     circumstances:
  355.         
  356.         A) Installing a new drive in place of an old.
  357.  
  358.         B) Moving a filesystem from one devices to
  359.            another.
  360.  
  361.         C) Performing a format, newfs, dump, and restore
  362.            cycle. Even if to the same device.
  363.  
  364.         You can usually get rid of the error by unmounting and
  365.         remounting the filesystem in question. 
  366.  
  367.     Also, error code 70 can occur when someone removes a file 
  368.     that a process is actively writing from a NFS client machine.
  369.  
  370.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  371.         "file handle" given in the error message into a Unix pathname.
  372.         Beware that showfhd does a "find" on your server to get the
  373.         filename.  "man 2 intro" will give you some more general
  374.         information on what error codes could mean.
  375.  
  376.     You will need a patch to get "showfh" to work correctly. The patch
  377.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  378.     Sun claims that it's been integrated into 4.1.3.
  379.  
  380.  
  381.  6)    How do I find the amount of memory installed or other
  382.     system configuration information?
  383.  
  384.     You can use the "devinfo" command to find out general
  385.     information about the hardware attached to your Sun.
  386.     The "devinfo" command is only available on desktop SPARCsystems,
  387.     SPARCengine 1E(although not in the version used in Auspex systems), 
  388.         or 600MP series server only.
  389.  
  390.     Also, some non-Sun machines may also support "devinfo"; all clones
  391.     probably do, and many compatibles.  (Any machine that has an SBus
  392.     will probably support "devinfo"; any machine that doesn't have an
  393.     SBus probably won't support "devinfo".)
  394.     
  395.     The "best" command for the job is "sysinfo". Sysinfo is public
  396.     domain utility available via "anonymous" ftp on 
  397.     usc.edu in directory /pub/sysinfo. Sysinfo works on all Sun    
  398.     architectures(inculding Sun-3s) as well as many other UNIX 
  399.     boxes such as Ultrix, and Next. Sysinfo does not run on
  400.     SunOS 5.0.
  401.  
  402.     For SunOS 5.0 you can use sysdef.
  403.  
  404.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  405.                the like will *not* give the correct answer on machines 
  406.            where physical memory is not contiguous, such as many Suns.
  407.  
  408.  
  409.  7)     Where can I get a version of ftp that does logging?
  410.  
  411.         There are at least 2 versions that have enhanced logging or 
  412.     can be modified to enable logging:
  413.  
  414.         wuarchive.wustl.edu (128.252.135.4) /packages/ftpd.wuarchive.shar
  415.     pprg.unm.edu (129.24.24.10)        /pub/misc/unm-ftpd.tar.Z
  416.  
  417.     The most widely used is the "wuarchive" version.
  418.  
  419.         The stock Sun ftpd will log some information if you add the "-l"
  420.         flag in /etc/inetd.conf:
  421.  
  422.         ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  423.  
  424.         Also enable syslogd by adding:
  425.  
  426.         daemon.info      /var/adm/syslog
  427.  
  428.         to "/etc/syslog.conf".
  429.  
  430.  
  431.  8)     Where can one get SunOS patches? Where can I get patch 100xxx-xx?
  432.  
  433.         Many anonymous ftp sites have partial collections of patches.
  434.         These sites include the following:
  435.  
  436.                 princeton.edu:/pub/sun-fixes
  437.                 qiclab.scn.rain.com:/pub/sunos-patches
  438.                 iskut.ucs.ubc.ca:/pub/ubc/sun-patches/
  439.                 ftp.uu.net:/systems/sun/sun-dist/
  440.  
  441.     princeton.edu has patches for SunOS, AnswerBook, Openwindows,
  442.     lang, and PC-NFS.
  443.  
  444.     qiclab.scn.rain.com has several hundred patches available
  445.     for SunOS only.
  446.  
  447.     iskut.ucs.ubc.ca has several of the newer patches.
  448.  
  449.     ftp.uu.net is the "official" distribution point for SunOS
  450.     security patches.
  451.  
  452.         Also, you should use "archie" to look for specific patches.
  453.  
  454.         Finally, the Sun User Group (SUG) CD ROM has a collection of Sun
  455.         patches.
  456.  
  457.         Alain Brossard (brossard@sic.epfl.ch) keeps a partial archive of
  458.         patches available for anonymous ftp on sasun1.epfl.ch in the directory
  459.         /pub/sun-patches. A list of patches is found in /pub/sun-patch-list.
  460.         Note that sasun1.epfl.ch is in Switzerland, so non-Europeans should
  461.         find a local site first, if possible.
  462.  
  463.  
  464.  9)    How to setup Openwindows Calendar Manager in a distributed
  465.     environment?
  466.  
  467.     Sun's original assumption that each user has a permanent machine 
  468.     allocated to them is not applicable in most environments. Just as 
  469.     users send mail to 'user' rather than 'user@machine', users want 
  470.     to browse others user's calendars and do not care or want to know
  471.     where the calendar is actually stored.
  472.  
  473.     Here is procedure to accomplish our goal. All calendars
  474.     will be stored on a central server. The initial setup
  475.     must be done on the server.
  476.  
  477.         A) Have the user login to the calendar host(calhost)
  478.            machine.
  479.         
  480.         B) Change everyone's .cm.rc file so that 
  481.            Calendar.DefaultCal points to user@calhost
  482.  
  483.            calhost can be an hostname alias or an actual
  484.            hostname. You may want to use the alias
  485.            just in case you change the "calhost" later.
  486.     
  487.         C) Change their Access List and Permissions (under
  488.                Edit/Properties) to show user@client with BID (browse,
  489.                insert, delete) permissions for any client machine the
  490.            user wanted to access their calendar from.
  491.  
  492.     Notes: If you use the scheme you should not NFS mount 
  493.            /var/spool/calendar on the client machines.
  494.  
  495.     or
  496.  
  497.     You can install the "Proxy OpenWindows Calendar Manager", which
  498.     is available via anonymous FTP from thor.ece.uc.edu in
  499.     /pub/sun-faq/proxy-cmsd.tar.Z.
  500.  
  501. 10)     Why does the talk command fail between SunOS
  502.     and any other manufacturer's equipment(like DEC)? 
  503.  
  504.     SunOS has the old BSD 4.2 version of talk. The old talk
  505.     uses "machine dependent" byte ordering. Since
  506.     DEC has different byte order the two talks can not
  507.     communicate(even if you use "otalk" on the DEC
  508.     machines).
  509.     
  510.     Also, most vendors have the newer version of 
  511.     talk from BSD-4.3 and this version is not compatible
  512.     with the Sun Version(which is BSD-4.2).
  513.  
  514.     The solution is to get and install the new version
  515.     of talk because it uses "network" byte ordering and
  516.     it is compatible with most Vendors current talk 
  517.     implementations.
  518.     
  519.     "New Talk" is available via anonymous ftp from several
  520.     sites including thor.ece.uc.edu(Get the file 
  521.     /pub/sun-faq/ntalk.tar.Z). 
  522.  
  523. 11)    How do I setup "anonymous" ftp?
  524.     
  525.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  526.         the procedure differs from vanilla BSD and most examples in 
  527.         system administration books. 
  528.  
  529.     The "ls" binary is dynamically linked, requiring you to 
  530.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  531.     The permissions and ownership of the files within the 
  532.         ftp area are critical to having a secure configuration.
  533.     
  534.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  535.           to copy /usr/lib/libdl.so.* to the ftp area as well.
  536.  
  537.     You can use a "statically" linked binary from the GNU
  538.     fileutils instead of the "dynamically" linked SunOS
  539.     version. You can get the GNU fileutils from prep.ai.mit.edu
  540.     in the directory /pub/gnu
  541.  
  542.     There is also a statically linked version of ls for Suns
  543.     running SunOS 4.1.x, available via anonymous ftp from
  544.     thor.ece.uc.edu.  Get the file /pub/sun-faq/ls.statically-linked
  545.  
  546.     A complete procedure to setup anonymous under SunOS is
  547.     available via anonymous ftp to thor.ece.uc.edu. Get
  548.     the file /pub/sun-faq/anon-ftp.how-to.
  549.  
  550.     There is an _excellent_ script written by Peter N. Lewis
  551.     (peter@cujo.curtin.edu.au) for setting up anonymous ftp
  552.     located on thor.ece.uc.edu, in the file /pub/sun-faq/anon-ftp.scrpt
  553.  
  554. 12)     How come yppasswdd does not automatically update the yp maps?
  555.  
  556.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  557.         the command line arguments.  A work-around is to add the
  558.         "-nosingle" flag (which is the default), this shifts the
  559.         arguments over one, so "passwd" is read instead of "-m".
  560.     Also, you should use the complete path to rpc.yppasswdd
  561.  
  562.         For example:
  563.  
  564.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  565.  
  566.         If you are running the C2 security package, you should apply
  567.         the C2 Jumbo patch, as it fixes several problems with rpc.yppasswdd
  568.     and rpc.pwdauthd. The patch number is
  569.  
  570.     100201-04 for SunOS 4.1 and 4.1.1
  571.     100564-05 for SunOS 4.1.2 and 4.1.3
  572.  
  573. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  574.  
  575.         You are probably running a pre-4.0 version of NFS and your
  576.         username is in more than 8 groups.  There is a limit on the
  577.         number of groups that could be represented in the rpc service
  578.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  579.         Since many vendors other than Sun are still running old versions
  580.         of NFS, you might see this error even if your SunOS is recent.
  581.  
  582.         Authentication errors are also caused by having secure RPC
  583.         enabled on the client but not on the server, or by having a
  584.         misconfigured secure RPC configuration for the user name
  585.         generating the errors.  Beware of this problem when you are
  586.         using the automounter, as programs (such as Sendmail) may
  587.         silently fail when when they try to mount a directory
  588.         and get this error.
  589.  
  590.  
  591. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  592.  
  593.     This the now infamous Quantum drive "stickation" problem.
  594.  
  595.     If the drive is allowed to cool down(even for a short period 
  596.     of time) the drive lubricant will congeal and prevent the disks
  597.     platters from rotating. 
  598.  
  599.     Before you get a replacement, try lightly tapping
  600.         the drive to loosen the lubricant. If this does not work try
  601.     shaking and twisting the drive at the same time. One last
  602.     thing to try is to lift the system up a couple of inches
  603.     and drop it.
  604.  
  605. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  606.         model?
  607.  
  608.         The higher capacity drives create more heat and draw more power than
  609.         the 105S.  The case cooling ability and power supply in the SS-1 and
  610.         SS-1+ are not adequate for the 210 megabyte or higher capacity drives
  611.         possible in the SS-2.
  612.  
  613. 16)     How can I turn my Sun3 into an X-Terminal?
  614.  
  615.         You can use Seth Robertson's Xkernel package.  It is available
  616.         via anonymous ftp from sol.ctr.columbia.edu (128.59.64.40) in
  617.         /Xkernel.  The package describes how to configure a minimal kernel
  618.         that runs the X server and offloads all the clients onto another,
  619.         hopefully more powerful host on the network. 
  620.  
  621.     If you are in hurry get the 4LAZY.sun3.tar.Z file. It contains
  622.     all the necessary software to get Xkernel up and running.
  623.  
  624.     Xkernel is attractive to some sites that have a large investment in 
  625.         sun3 platforms, as moving  most of the processing off the sun3 
  626.         cpu makes it tolerable to use.  
  627.  
  628.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  629.         you get a 19" monitor with an optical mouse.  
  630.  
  631.     Some disadvantages are that 4.1.1 is supposed to be the last SunOS
  632.         release on the sun3 and maintenance costs might be higher for
  633.         sun3 hardware.
  634.  
  635.  
  636. 17)    Why is my console login prompt garbled or in some strange
  637.     alphabet after upgrading to 4.1.3?
  638.  
  639.         The problem is /etc/ttytab, with 4.1.3, the console is now
  640.     able to display 8 bits characters and getty must take this 
  641.     into account.
  642.  
  643.     The solution is easy, replace your console entry in /etc/ttytab 
  644.     by the following, the important part is 'cons8':
  645.  
  646.     console "/usr/etc/getty cons8"  sun             on local secure
  647.  
  648.     Also, if you did an upgrade(instead of a full install) you may 
  649.     need to add the following to your /etc/gettytab.
  650.  
  651.     # This is a new entry to internationalize the console.  It needs to be
  652.     # 8 bit clean so that ISO 8859 characters can be displayed without
  653.     # the window system.
  654.     #
  655.     cons8:\
  656.             :p8:lm=\r\n%h login\72 :sp#9600:
  657.  
  658.  
  659. 18)    Why are there "random" missing services at boot time(even
  660.     though the services are in the /etc/services file or NIS map)?
  661.  
  662.     The two primary causes for "random" missing services are
  663.     as follows:
  664.  
  665.         A) "Blank" lines in /etc/services. This is the primary
  666.            cause.
  667.  
  668.         B) NIS/YP server not responding quickly enough
  669.            to the "getservbyname" call. The only fix
  670.            is to replace the systems version of inetd
  671.            with a version that re-tries a "unknown" service.
  672.  
  673.            I have "hacked" a version of munetd(public domain
  674.            replacement for inetd) to do this. It is available
  675.            from thor.ece.uc.edu. Get the file /pub/sun-faq/munetd.tar.Z
  676.  
  677.     Another suggestion that has worked for some people is to
  678.     add the following to your rc.local(right after ypbind is started):
  679.  
  680.         ypwhich > /dev/null 2>&1
  681.  
  682.     This will force ypbind to bind.
  683.  
  684. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  685.     reasonable price)?
  686.  
  687.     Here is an incomplete list of vendors how have "data certified"
  688.     tapes for the exabyte.
  689.  
  690.     Misco               800-876-1726   $12 - 15 each.    
  691.     TecBridge          800-972-7405   $12 - 15 each.
  692.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  693.     K and K Systems          612-475-1527     $10 Each
  694.     SCR              314-739-0808     $10.95 for Memorex
  695.  
  696. 20)    What is "archie"?
  697.  
  698.     Archie is a database of what is on several thousand anonymous 
  699.     ftp sites. 
  700.  
  701.     To use archie get one of the three archie clients which
  702.     are as follows:
  703.  
  704.         xarchie        -    For use under X11
  705.         c-archie    -     Curses version of Archie
  706.         archie        -     Perl Version of Archie
  707.     
  708.     Theses are available from archie.ans.net in the directory 
  709.     /pub/archie.
  710.  
  711.     List of other publicly available archie servers:
  712.  
  713.     archie.rutgers.edu   128.6.18.15     (Rutgers University)
  714.     archie.unl.edu       129.93.1.14     (University of Nebraska 
  715.                                           in Lincoln)
  716.     archie.sura.net      128.167.254.179 (SURAnet archie server)
  717.     archie.ans.net       147.225.1.2     (ANS archie server)
  718.     archie.au            139.130.4.6     (Australian server)
  719.     archie.funet.fi      128.214.6.100   (European server in Finland)
  720.     archie.doc.ic.ac.uk  146.169.11.3    (UK/England server)
  721.     archie.cs.huji.ac.il 132.65.6.15     (Israel server)
  722.     archie.wide.ad.jp    133.4.3.6       (Japanese server)
  723.     archie.th-darmstadt.de 130.83.128.111 (German server)
  724.  
  725.     
  726. 21)    How do I synchronize time on my Sun Network?
  727.  
  728.     You should use xntp version 3 to synchronize your time. Xntp 
  729.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  730.     xntp time should always be within a few "milliseconds" of the
  731.     actual time.
  732.  
  733.     xntp is available from udel.edu. Get the file /pub/ntp/xntp3.tar.Z
  734.     
  735.  
  736. 22)    What is the phone number for Sun Express and other numbers of importance
  737.     to Sun Users? 
  738.  
  739.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  740.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  741.  
  742.     Auspex Systems Inc. :   2952 Bunker Hill Lane
  743.                             Santa Clara, CA 95054
  744.                             (800) 735-3177 or (408) 492-0900
  745.                                 Fax: (408) 492-0909
  746.     
  747.  
  748. 23)     How do I join sun related  mailing lists?
  749.  
  750.     Mailing Lists:
  751.  
  752.     Sun Managers:    Used for "emergency" information only. The
  753.             users of this list are "very" knowledgable.
  754.         sun-managers-request@eecs.nwu.edu    add requests
  755.         sun-managers@eecs.nwu.edu        submissions
  756.  
  757.         Sun-386i:   discussion about the Sun 386i product
  758.             sun-386i-request@ssg.com        add requests
  759.             sun-386i@ssg.com                    submissions
  760.  
  761.         Suns-at-home:   discussion about maintaining Sun2/3/4/4c
  762.                         systems at home
  763.             suns-at-home-request@orchestra.ecn.purdue.edu   add requests
  764.             suns-at-home@orchestra.ecn.purdue.edu           submissions
  765.  
  766.         Auspex:  managers of Auspex NFS file servers
  767.             auspex-request@princeton.edu                    add requests
  768.             auspex@princeton.edu                            submissions
  769.  
  770.         Epoch:  managers of Epoch NFS file servers       
  771.             EPoch Users Forum  (EPUF)             
  772.             epuf-request@mcs.anl.gov                        add requests 
  773.             epuf@mcs.anl.gov                                submissions
  774.  
  775.     sun-flash: Provides articles about Sun products 
  776.            and services.
  777.  
  778.         Subscription request should be sent to
  779.             sunflash-request@sunvice.East.Sun.COM
  780.  
  781.  
  782.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  783.              send mail to the REQUEST address!  Do not send add requests 
  784.          to the main address!
  785.  
  786.  
  787. 24)    How do I use Mac floppies in a SUN drive?
  788.     
  789.     The easiest way is to use suntar on the Macintosh to
  790.     copy files to a "high density" floppy.  Then you can use 
  791.     "tar" on the Sun to get the files off the floppy.
  792.  
  793.     It is available from sumex-aim.stanford.edu. Get the file
  794.     /info-mac/util/suntar-131.hqx
  795.  
  796.     Also, you could use the Apple File Exchanger to translate
  797.     the files to MS-DOS format. Then use one of the methods
  798.     for transferring MS-DOS disks to Sun.
  799.  
  800.  
  801.     Note: There are  several commercial packages available for
  802.           this purpose.
  803.  
  804.           Also, low density Mac floppies are not comparable with
  805.           low density Sun floppies. 
  806.  
  807.  
  808. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  809.  
  810.     There are two packages which allow you to do this(mtools and mntdsk)
  811.  
  812.     Mtools writes directly to the floppy device and it does not
  813.     require special privileges. It is faster than mntdsk
  814.     but it requires the user to learn a new set of commands.
  815.  
  816.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  817.     mounted you can use regular UNIX commands(cp,mv,and rm)
  818.     to access it.
  819.  
  820.     A copy of mtools can be found on thor.ece.uc.edu. Get
  821.     the file  /pub/sun-faq/mtools-2.0.7.tar.Z
  822.  
  823.     Mntdisk is available in your local comp.sources.misc, Volume 22,
  824.     Issue 31. Mntdsk can be used to mount CD-ROMS and even
  825.     UFS floppies.
  826.  
  827.     Note:    You should not use "setuid" shell scripts for mounting
  828.         floppies.
  829.  
  830.  
  831. 26)    Why is my biff not "biffing" when using biff in a networked
  832.     environment?
  833.  
  834.     In its current form comsat/biff are only usable on the mail
  835.     server. You need to replace them network capable programs.
  836.  
  837.     A shar file containing network capable versions of comsat
  838.     and biff is available from thor.ece.uc.edu. Get the
  839.     file /pub/sun-faq/biff-comsat.
  840.  
  841. 27)    How do I disable L1-A(STOP-A) or re-map it?
  842.  
  843.     You need to get one of the many re-mapping programs. Two
  844.     of these are available from thor.ece.uc.edu. Get the file
  845.     disable-L1-A.tar.Z
  846.  
  847. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  848.  
  849.     There is a known problem with sendmail and frozen config
  850.     files under 4.1.2.
  851.  
  852.     The fix is to remove /etc/sendmail.fc or consider replacing
  853.     it with IDA sendmail. You could also try moving it to the
  854.     end of /etc/rc.local.
  855.  
  856.  
  857. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  858.  
  859.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000    filesystem
  860.     8500 -- dump 0budfs 126 54000 /dev/rst0 13000   filesystem
  861.                           
  862.     Note: Under 4.1.2 and above you should use rst8. Previous
  863.           versions did not do anything special for the 8500.
  864.  
  865.     Note: These parameters are not needed for 5.1.x because
  866.           it computes these values from the type of Tape Drive
  867.           you are using. Also, 5.1.x knows about end of tape
  868.           and does the right thing when it reaches it.
  869.  
  870. 30)    What are the guidelines for setting up swap space ?
  871.  
  872.     This question under construction.
  873.  
  874. 31)    What are the general guidelines for maxusers to be set to on machine X?
  875.  
  876.     This question under construction.
  877.  
  878. 32)    What does "zsN: silo overflow" mean?
  879.  
  880.         The CPU serial ports - both ordinary serial ports A and B, and
  881.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  882.         chip.  That chip has a 3-character on-board buffer called the
  883.         "silo".  If a character arrives in the silo, the chip interrupts
  884.         the CPU at a high priority, and the interrupt service routine
  885.         reads the character out of the silo.
  886.  
  887.         If the interrupt isn't serviced in time, more than 3 characters
  888.         can be placed in the silo by the chip; if so, the chip notes
  889.         that the silo "overflowed", and the interrupt service routine,
  890.         when called, will note that a "silo overflow" occurred.
  891.  
  892.         If the machine is printing a message from the kernel, interrupts
  893.         from the chip will be held off; if the message takes long enough
  894.         to print, and characters are coming in quickly enough on the
  895.         serial port, more than 3 can arrive, and a "silo overflow" will
  896.         occur.
  897.  
  898.         It is possible that a machine that's sufficiently busy in other
  899.         code that runs with interrupts held off could get a silo
  900.         overflow as well.
  901.  
  902. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  903.     signify?
  904.  
  905.         The name "zsN" is ambiguous.
  906.  
  907.         In kernel "config" files, and in the boot-time autoconfig
  908.         messages, "zs0" is the first on-board Z8530 chip, the two
  909.         channels of which handle "ttya" and "ttyb", respectively, and
  910.         "zs1" is the second on-board Z8530 chip, the two channels of
  911.         which handle the keyboard and mouse ports, respectively.
  912.  
  913.         In "zsN: silo overflow" messages and the like:
  914.  
  915.                 "zs0" is the A channel on the first on-board Z8530, handling
  916.                     "ttya";
  917.  
  918.                 "zs1" is the B channel on the first on-board Z8530, handling
  919.                     "ttyb";
  920.  
  921.                 "zs2" is the A channel on the second on-board Z8530, handling
  922.                     the keyboard;
  923.  
  924.                 "zs3" is the B channel on the second on-board Z8530, handling
  925.                     the mouse.
  926.  
  927.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  928.         overflow" error is for "ttyb", not for the keyboard or mouse.
  929.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  930.         overflows are "zs3: silo overflow".
  931.  
  932.  
  933. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  934.  
  935.         You need to read Chapter 11 in  the "Systems and Network 
  936.     Administration" manual.
  937.  
  938. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  939.     connection to some non-Sun machine; it won't log in.  What's wrong?
  940.  
  941.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  942.         into another machine.  If the other machine is running in 8
  943.         bits, no parity, mode, the fact that the 8th bit is set on some
  944.         of the characters the Sun is sending to it will confuse it.
  945.  
  946.         The Sun can be made to turn the 8th bit off by putting P_ZERO in
  947.         the appropriate place in the appropriate UUCP configuration file
  948.         [I may have been the one to put P_ZERO there, but I forget the
  949.         details; it's in the send-expect sequence in the Systems file
  950.         entry for the machine, and I think you have an "expect" string
  951.         of "" - i.e., "expect nothing" - and a "send" string of P_ZERO -
  952.         i.e., make the parity bit zero.  Check the UUCP stuff in the
  953.         "Systems and Network Administration" document to make sure.]
  954.  
  955.  
  956. 36)    Do the Sun serial ports support RTS/CTS flow control?
  957.  
  958.         The serial port hardware can do CTS-based control of the flow of
  959.         data *from* the Sun *out* the serial port automatically.  The
  960.         tty driver option for that is the CRTSCTS option; it can be
  961.         specified in:
  962.  
  963.                 the "printcap" "ms" capability for a printer;
  964.  
  965.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  966.                 for a dial-in port;
  967.  
  968.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  969.                 [check the UUCP documentation for details];
  970.  
  971.         and can be specified with the "hf" capability in "/etc/remote"
  972.         for "tip".
  973.  
  974.         The hardware cannot directly do RTS-based control of the flow of
  975.         data *into* the Sun, and the software does not currently support
  976.         controlling the flow of data into the Sun with RTS.
  977.  
  978.         NOTE: the EEPROM options in newer Suns do not affect the flow
  979.  
  980.         control performed by the OS; in fact, the OS ignores the
  981.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  982.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  983.         set them to change the way the OS handles the tty, and even if
  984.         you do set them, it won't change the way the OS handles the tty.
  985.  
  986.  
  987.  
  988. 37)    How do I specify that a serial port should, or should not, ignore the
  989.     state of the Carrier Detect line?
  990.  
  991.         Prior to SunOS 4.1, you do so either by:
  992.  
  993.                 changing the "flags" field for the serial port device in the
  994.                 kernel "config" file, re-running "config", rebuilding
  995.                 the kernel, and rebooting with the new kernel;
  996.  
  997.         or, on the Sun-4c machines:
  998.  
  999.                 changing the setting of the "ttya-ignore-cd" or
  1000.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  1001.                 the CPU serial ports.
  1002.  
  1003.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  1004.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  1005.         port in question to have the "local" attribute if CD is to be
  1006.         ignored, or not to have it if CD is not to be ignored, and
  1007.         running the "ttysoftcar" command to tell the kernel that the
  1008.         status of the "ignore CD" flag should be changed.
  1009.  
  1010.         In 4.1, there's no need to change the EEPROM setting to change
  1011.         SunOS's behavior; it may affect the PROM's behavior, but that's
  1012.         the only reason why it'd be necessary.
  1013.  
  1014. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  1015.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  1016.  
  1017.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  1018.         "vi", because that version of "vi" supports 8-bit character
  1019.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  1020.         have to change the "terminfo" entry for the terminal.
  1021.  
  1022.         You may first have to convert the compiled "terminfo" entry to a
  1023.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  1024.         the text of the "terminfo" entry for the terminal
  1025.         <terminal-type> to its standard output.
  1026.  
  1027.         If you already have a "termcap" entry, you can convert it to a
  1028.         "terminfo" entry with "/usr/5bin/captoinfo".
  1029.  
  1030.         A text "terminfo" entry must be recompiled in order for programs
  1031.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  1032.  
  1033. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  1034.     Control, and Esc keys inconvenient.  How do I remedy this?
  1035.  
  1036.         Well, one remedy may be to buy the "UNIX layout" version of the
  1037.         Type 5; this option seems, unfortunately, to be little-known to
  1038.         Sun customers, and Sun may not be promoting it as they should.
  1039.         That keyboard has a layout much more friendly to the traditional
  1040.         UNIX user than do the normal PC-style layouts for the Type 5.
  1041.  
  1042.         If you don't have that option, you can use the appropriate
  1043.         program to reprogram the keys; see the next question.
  1044.  
  1045. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  1046.     Caps Lock and Control keys on a Type 5 keyboard?
  1047.  
  1048.         It depends on which window system you're running, if any.
  1049.  
  1050.         If you're not using any window system, or you're using a window
  1051.         system such as SunView that uses the OS's keyboard event
  1052.         translation mechanism, you can dump the tables used by the OS's
  1053.         keyboard event translation mechanism with the "dumpkeys"
  1054.         command, and load changes to that table with the "loadkeys"
  1055.         command; see LOADKEYS(1).
  1056.  
  1057.         If you're using X11 - either in its MIT incarnation, or Sun's
  1058.         Open Windows incarnation - or some other window system that
  1059.         shuts off the OS's keyboard event translation mechanism, you
  1060.         need to use the window system's commands, if any, for that
  1061.         function.
  1062.  
  1063.         In X11, the command for that is "xmodmap"; its translation
  1064.         tables can be printed with "xmodmap -pk", and changes to that
  1065.         table can be loaded with "xmodmap" as well.
  1066.  
  1067.         NOTE: in the particular case of the Control and Caps Lock keys,
  1068.         while MIT X appears to handle interchanging those two keys
  1069.         correctly, so that the new Caps Lock key is a toggle and the new
  1070.         Control key is not, some versions of Open Windows do not - even
  1071.         though the keys have had their mappings exchanged, the window
  1072.         system server still thinks that the *old* Caps Lock key, which
  1073.         is now the Control key, should be a toggle, and that the *old*
  1074.         Control key, which is now the Caps Lock key, should not be a
  1075.         toggle.
  1076.     [Here is a work-around for this problem, provided by Mark Plotnick
  1077.     (mp@allegra.att.COM)]:
  1078.     Copy the appropriate keytable (e.g. /usr/openwin/etc/keytables/US4.kt)
  1079.     to $HOME/.keytable, and change the 2nd attribute character in a key's
  1080.     attributes field to N or P depending on whether the key should have 
  1081.     "pseudolock".
  1082.     $ diff /usr/openwin/etc/keytables/US4.kt /usr/gre/.keytable
  1083.     78,79c78,79
  1084.     < lock  119                     # CapsLock
  1085.     < control        76                     # Control
  1086.     ---
  1087.     > lock   76                     # CapsLock
  1088.     > control       119                     # Control
  1089.     226c226
  1090.     < 76    NN      XK_Control_L
  1091.     ---
  1092.     > 76    NP      XK_Caps_Lock
  1093.     278c278
  1094.     < 119   NP      XK_Caps_Lock
  1095.     ---
  1096.     > 119   NN      XK_Control_L
  1097.  
  1098.  
  1099. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  1100.  
  1101.         SunOS releases prior to 5.x come with a C compiler; however,
  1102.         it's an old compiler, and doesn't support ANSI C syntax or such
  1103.         ANSI C features as function prototypes.
  1104.  
  1105.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1106.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1107.         full ANSI C environment, i.e. it doesn't necessarily include all
  1108.         the ANSI C include files or library routines); various other
  1109.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1110.  
  1111.         The Free Software Foundation's GCC also supports ANSI C syntax
  1112.         and ANSI C features; it can be FTP'ed in source form from many
  1113.         sites, and in binary form from some sites.  [Sorry, I don't have
  1114.         details.]
  1115.  
  1116.         SunOS 5.x - the OS component of Solaris 2.x - doesn't come with
  1117.         a C compiler of any sort (NOTE: it isn't necessary for kernel
  1118.         configuration).  If you want a C compiler for it, you'll have to
  1119.         buy or otherwise obtain one; Sun has or will have one for SunOS
  1120.         5.x, and a version of GCC for Solaris 2.0 is also available.
  1121.         The include files and libraries in SunOS 5.0 should (modulo
  1122.         bugs) fully support ANSI C. 
  1123.  
  1124.     A compiled version of GCC 2.0 for SunOS 5.x is avaliable from 
  1125.     ftp.uu.net in the /systems/sun/gnu-solaris directory.
  1126.  
  1127.     A compiled version of GCC 2.3.3 for SunOS 5.x is avaliable from 
  1128.     prep.ai.mit.edu.  Get the file /pub/gnu/gcc-solaris-2.3.3.tar.Z
  1129.  
  1130.     After obtaining GCC, you will need to run fixincludes. You
  1131.     will need to the GCC source code to be able to run fixincludes.
  1132.     Here is the procedure for running fixincludes after obtaining
  1133.     the binaries and the source code.
  1134.  
  1135.         # cd GCC source directory
  1136.  
  1137.         # ./configure -prefix=/opt/gnu sparc-sun-solaris2
  1138.  
  1139.         # make install-fixincludes \
  1140.             GCC_FOR_TARGET=gcc GCC_PARTS= GCC_PASSES=
  1141.  
  1142.     Note: If you have the disk space you should consider
  1143.           a full build. 
  1144.  
  1145.  
  1146. 42)    How do I change the time zone setting on my machine?
  1147.  
  1148.         In releases prior to SunOS 4.0, you will have to reconfigure
  1149.         your kernel, recompile it, install the new kernel, and reboot.
  1150.         See the documentation on kernel configuration.
  1151.  
  1152.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1153.         command with the "-l" flag, with the appropriate time zone
  1154.         setting as the argument.  For example, to set the time zone to
  1155.         US Eastern Time, do:
  1156.  
  1157.                 zic -l US/Eastern
  1158.  
  1159.         to set it to the proper setting for Great Britain and Eire, do:
  1160.  
  1161.                 zic -l GB-Eire
  1162.  
  1163.         and so on.
  1164.  
  1165.         You will then probably want to reboot your machine, in order to:
  1166.  
  1167.                 1) cause any daemons started before the time zone was
  1168.                    changed to restart, and pick up the new time zone;
  1169.  
  1170.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1171.                    binaries, old programs not converted to use the new
  1172.                    routines to convert local time to UNIX time, and
  1173.                    Calendar Manager.
  1174.  
  1175.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1176.         to the appropriate time zone file, but there's really no point
  1177.         in doing so when "zic -l" will do that for you.
  1178.  
  1179.         In Solaris 2.x, you do it the same way you do it on any other
  1180.         SVR4 system - you put a line that says
  1181.  
  1182.                 TZ=<time zone name>
  1183.  
  1184.         in "/etc/TIMEZONE", or change the existing line, and reboot.
  1185.         SVR4 includes the "Arthur Olson" time zone code that SunOS 4.x
  1186.         also uses, although not all SVR4 systems supply the time zone
  1187.         files for it; Solaris 2.0 does.
  1188.  
  1189.  
  1190. 43)    I'm getting messages that say one of the following:
  1191.          proc: table is full    and/or
  1192.             file: table is full    and/or
  1193.             dquot: table is full     and/or
  1194.             inode: table is full
  1195.          What do these errors mean, and how do I fix the problem?
  1196.  
  1197.         In SunOS releases prior to 5.0, many tables in the system are
  1198.         allocated once at system startup time, with a fixed size, and do
  1199.         not grow in size.  If the system needs more entries than are
  1200.         present in that table to perform some operation, it can't
  1201.         perform the operation, and it will log a message and return a
  1202.         failure indication.
  1203.  
  1204.         The sizes of the tables in question are based on the "maxusers"
  1205.         value in the configuration file for your kernel; to increase the
  1206.         size of the table, change the configuration file for your kernel
  1207.         to have a larger "maxusers" value, re-run "config" on that file,
  1208.         rebuild the kernel, install the new kernel, and reboot.
  1209.  
  1210.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1211.         that table is dynamically allocated; SunOS 5.0 should
  1212.         dynamically allocate entries in most if not all of those tables.
  1213.  
  1214. 44)    I did that, and I'm still getting that message.  What do I do now?
  1215.  
  1216.         Presumably, then, either:
  1217.  
  1218.                 1) you didn't increase "maxusers" enough
  1219.  
  1220.         or
  1221.  
  1222.                 2) some process is consuming resources from the table in
  1223.                    question without bound.
  1224.  
  1225.  
  1226.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1227.           all available process slots(except for the last 5). 
  1228.  
  1229.           If you are running out of process slots you may want to 
  1230.           change the kernel parameter that controls the maximum number
  1231.           of per user processes. You can change this in the param.c
  1232.           in /sys/conf.common. You will need to change the following
  1233.           define:
  1234.  
  1235.             #define MAXUPRC (NPROC - 5)
  1236.  
  1237.           to something more reansable like
  1238.  
  1239.             #define MAXUPRC (NPROC - 5)/2
  1240.  
  1241.           After making this change you should re-config and re-build
  1242.           your kernel.
  1243.  
  1244.         The "proc" table has one entry for every process on the system;
  1245.         if it's overflowing, some process on the system may be creating
  1246.         new processes over and over again.  If you can, do a "ps -ax" to
  1247.         see what processes are on the system, and see if that gives any
  1248.         clues as to what process, if any, is spawning those other
  1249.         processes.
  1250.         
  1251.  
  1252.         The "file" table has one entry for every "active file
  1253.         descriptor" on the system; each time an "open", "dup", "socket",
  1254.         etc. call is made, a new "active file descriptor" is required.
  1255.         There's no way of finding out what process or processes are
  1256.         consuming file descriptors that's as convenient as "ps" can be
  1257.         for finding out what process or processes are spawning additional
  1258.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1259.         of "active file descriptors", but it's tricky for the novice
  1260.         user, programmer, or administrator to interpret the output of
  1261.         "pstat -f", and that output doesn't indicate which processes are
  1262.         using a given "active file descriptor".
  1263.  
  1264.  
  1265. 45)     How do I run both OpenWindows and MIT X11R5?
  1266.  
  1267.     Note: OW2 is compatible with X11R3+, OW3 is compatible with X11R4.
  1268.  
  1269.     To get X11R5(or R4) applications to run under Openwindows you will
  1270.     need to set the appropriate LD_LIBRARY_PATH. 
  1271.  
  1272.         Assuming you installed the MIT libraries in
  1273.         /usr/lib and the OpenWindows libraries are in
  1274.         /usr/openwin/lib, set the following before you start the
  1275.         windowing system:
  1276.  
  1277.         MIT X11R4 environment
  1278.  
  1279.                 set path = (/usr/bin/X11 $path)
  1280.                 setenv LD_LIBRARY_PATH /usr/lib
  1281.  
  1282.        OpenWindows
  1283.  
  1284.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1285.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1286.  
  1287.         You can also run clients from one environment under a different
  1288.         server on a one command at a time basis.  This example runs a
  1289.  
  1290.          OpenWindows client under the MIT server:
  1291.  
  1292.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1293.  
  1294.  
  1295.     A better way to handle this(in the long run) is to re-compile 
  1296.     the X server clients to include a "hard" coded shared library
  1297.     search path. You will need to link the clients with -L
  1298.     option.  For example, if your X11 libraries are installed
  1299.     in /usr/local/lib/X11 you will link your application by
  1300.  
  1301.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1302.  
  1303.     By doing this to all applications you can eliminate the need
  1304.     to set the LD_LIBRARY_PATH. 
  1305.  
  1306.     For applications that you do not have source for you should
  1307.     write a shell script wrapper similar to the following:
  1308.  
  1309.     #!/bin/sh
  1310.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1311.     /usr/local/bin/X11/xterm.bin $*
  1312.     
  1313.  
  1314.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1315.           available from prep.ai.mit.edu. 
  1316.  
  1317.  
  1318.         The OpenWindows server has the ability to display PostScript that
  1319.         several of the OpenWindows applications require to run.  Sun's
  1320.         AnswerBook is an example that requires PostScript.  These clients
  1321.         will not run under the MIT server.   
  1322.  
  1323.     You can get a limited PostScript preview capability under 
  1324.     either server with GNU Ghostscript, a GNU "copyleft" package
  1325.     available from various ftp sites.  
  1326.  
  1327.     Two enhanced versions of Ghostscript are also available,
  1328.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1329.         These programs are currently available via anonymous ftp:
  1330.  
  1331.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1332.         GSPreview   is on export.lcs.mit.edu (18.24.0.12) in /contrib
  1333.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1334.  
  1335.  
  1336. 46)    Where do I find a "restricted" shell for SunOS?
  1337.  
  1338.     /usr/lib/rsh is a "restricted" Bourne shell.
  1339.  
  1340.         This "restricted" shell is easy to break out of; consider
  1341.         that most editors have a shell scape, for example. Building
  1342.         a window-dressing restricted environment is easy; building
  1343.         a real restricted environment is hard.
  1344.  
  1345.  
  1346. 47)    Will SunOS 4.1.x binaries run under SunOS 5.x?
  1347.  
  1348.         Yes they will, with some restrictions. The most significant is
  1349.         that the binary in question must have been "dynamically linked."
  1350.         Otherwise, you will get the message
  1351.  
  1352.         Bad system call (core dumped)
  1353.  
  1354.         immediately when starting the 4.1.x binary on SunOS5.
  1355.  
  1356.         Also, bear in mind that there is a performance overhead for
  1357.         this "binary emulation"; each system call happens twice,
  1358.         once to trap into the emulation mode and again to get from
  1359.         there into the UNIX kernel.
  1360.  
  1361.  
  1362. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1363.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1364.     _get_applicationShellWidgetClass). What is the Problem?
  1365.  
  1366.     There are problems with the Xmu shared library as shipped from Sun.
  1367.  
  1368.     There are two "fixes". One is to get the Openwindows patches
  1369.     that apply to this problem and the other is to "statically" link
  1370.     the Xmu library into the executable.
  1371.  
  1372.     The patches you will need are as follows:
  1373.  
  1374.         Patch i.d.      Bug i.d.'s      O/S     Description
  1375.         ----------      -------------------------------------------------------
  1376.         100512-02       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1377.             1074766         Jumbo patch
  1378.  
  1379.         100573-03       1087332         4.1.x OpenWindows 3.0 undefined
  1380.                         symbols when using shared
  1381.                         libXmu.
  1382.  
  1383.     To "statically" link your executable with libXmu modify the
  1384.     compile line as follows:
  1385.  
  1386.           -Bstatic -lXmu -lBdynamic 
  1387.  
  1388.  
  1389. 49)    What is Solaris?
  1390.     
  1391.     Solaris consists of the following facilities:
  1392.  
  1393.         1) SunOS 
  1394.         2) Openwindows
  1395.         3) Openwindows deskset tools
  1396.         4) ONC networking products and services(which includes NFS
  1397.            and NIS)
  1398.  
  1399.     Solaris is not an operating system but a "complete" user
  1400.     environment.
  1401.  
  1402.     A chart of Solaris versions, and the corresponding SunOS, Open 
  1403.     Windows, and DeskSet versions:
  1404.  
  1405.           Solaris         SunOS           Open Windows    DeskSet
  1406.           1.0             4.1.1           2.0             2.0
  1407.           1.0.1           4.1.2           2.0             2.0
  1408.           1.1             4.1.3           3.0             3.0
  1409.           2.0             5.0             3.0.1           3.0.1
  1410.           2.1             5.1             3.1             3.1
  1411.  
  1412.  
  1413. 50)     What does the "nres_gethostbyaddr !=" error mean?
  1414.  
  1415.         This message is from "ypserv" and has been determined to be
  1416.         "harmless" (bug #1039839). Sun supplied a patch 100141-01 to
  1417.         quiet it, but the patched version appears to die silently at
  1418.         random times, so Sun now has a new patch, 100141-02.
  1419.  
  1420.     This message can be generated because the Domain Name Server lacks
  1421.     a reverse map entry for that particular host.
  1422.  
  1423.  
  1424. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  1425.     how do I repair it?
  1426.  
  1427.     One of the LEDs on the under side of the mouse has probably 
  1428.     "burnt" out.
  1429.  
  1430.     You can probably repair it yourself(if you can get a replacement 
  1431.     LED and you know how to use a Soldering Iron) by following
  1432.     a set of directions available from thor.ece.uc.edu. Get the
  1433.     file /pub/sun-faq/mouse.fix.
  1434.  
  1435.     Finally, you should try turning your mouse pad 90 degrees and
  1436.     see if that corrects the problem.
  1437.  
  1438.         Note: Also, you may have one of the bad mice that came with
  1439.           early SS-1 shipments.  The LED on the underside of the 
  1440.           mouse can fail.  Request a replacement from Sun.
  1441.     
  1442.  
  1443. 52)    What do the following undefined symbols mean(dlopen, and dlclose)?
  1444.  
  1445.     If you have just installed a new shared library under 4.1.2 or
  1446.     greater you need to modify the Makefile for the shared libraries
  1447.     and re-install. You will need to change the following line
  1448.  
  1449.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1450.     to read 
  1451.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1452.  
  1453.     Note: You should change both such lines.
  1454.  
  1455.     If the above problem is not the case, you may need to install
  1456.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1457.  
  1458. 53)    What does "No network locking on host" mean after upgrading to
  1459.     Solaris 2.0?
  1460.  
  1461.     Your SunOS 4.x(or above) machines are running an old version
  1462.     of rpc.lockd. You need to get and install patch number 
  1463.     100075-09 to correct this problem.
  1464.  
  1465. 54)    Does Password Aging work with NIS(YP) ?
  1466.  
  1467.     Password aging will only work under SunOS 5.0 with NIS+.
  1468.  
  1469.     Sun does not support password aging under NIS(OS version
  1470.     to 4.1.3). The rpc.yppasswdd needs to modified to 
  1471.     make password aging work. 
  1472.  
  1473. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1474.     
  1475.     For some reason rpc.lockd can not talk to rpc.statd. 
  1476.  
  1477.     Check to see if rpc.statd is running. If rpc.statd
  1478.     is not running re-start it. If rpc.statd is running, 
  1479.     kill it and restart it. 
  1480.  
  1481.     To get rpc.statd to re-start you may need to
  1482.     remove the /etc/sm and /etc/sm.bak directories.
  1483.  
  1484. 56)    How do I join the Sun User Group(SUG)?
  1485.  
  1486.     Here is the information on joining SUG.
  1487.  
  1488.         Sun User Group, Inc.
  1489.         1330 Beacon Street, Suite 315
  1490.         Brookline, MA 02146
  1491.         USA
  1492.         voice: +1 617 232-0514        fax: +1 617 232-1347
  1493.         office@sug.org 
  1494.  
  1495.     With your membership you get the following:
  1496.         
  1497.         *  Vendor Discounts
  1498.         *  Technical Conferences
  1499.         *  Software Distribution
  1500.         *  README Newsletter
  1501.         *  Annual Exhibits
  1502.         *  Local User Group Support
  1503.         *  Newsgroup comp.org.sug 
  1504.  
  1505.  
  1506. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  1507.  
  1508.     To add more ptys you must install a new kernel. 
  1509.  
  1510.     The default number of "ptys" is  48.  To get more "ptys" 
  1511.     change the kernel config line "pseudo-device pty" to 
  1512.     "pseudo-device pty#" where '#" is the number of "ptys"
  1513.     you want. 
  1514.  
  1515.     Be warned the maximum number you can have is 255(don't use 256,
  1516.     this wraps to 0)
  1517.  
  1518. 58)    Where are dump and restore under Solaris 2.x?
  1519.  
  1520.     dump is now called /usr/sbin/ufsdump
  1521.     restore is now called /usr/sbin/ufsrestore
  1522.  
  1523. 59)    How do I make the numeric keypad on a type 5 keyboard work with xterm?
  1524.  
  1525.         You need to patch the /usr/lib/X11/app-defaults/XTerm and
  1526.         $OPENWINHOME/lib/app-defaults/XTerm files as described in sun
  1527.         patch 100713-01 or later.
  1528.  
  1529. 60)    How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  1530.     under Openwindows 3.0?
  1531.  
  1532.         Don't do it with xmodmap, since that won't change the locking
  1533.         behaviour of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt.
  1534.         There are two places where keys 119 (CapsLock) and 76 (Control)
  1535.         should be swapped: the MODMAP section and the KEYSYMMAP section.
  1536.         The latter is most important, because that's where the
  1537.         "Pseudo-Lock" function (which controls the locking behaviour of
  1538.         the key) is defined.
  1539.  
  1540. 61)    Which Sun models run which versions of SunOS?
  1541.  
  1542.         Sun2: SunOS 4.0.3 or earlier.
  1543.         Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only.
  1544.         Sun3: SunOS 4.1.1 or earlier.
  1545.         4/100, 4/200 series: SunOS 3.2, SunOS 4.0 or later.
  1546.         4/300 series: SunOS 4.0.3 or later.
  1547.         4/400 series: SunOS 4.1PSR_A or later.
  1548.         4/600 models 120, 140: SunOS 4.1.2 or later.
  1549.         4/600 model 41: SunOS 4.1.3 or later.
  1550.         4/600 models 42, 52, 54: SunOS 5.1 or later.
  1551.         SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3c or later.
  1552.         SPARCstation 2, ELC, IPX: SunOS 4.1.1 or later.
  1553.         SPARCstation 10 models 20, 30, 41: SunOS 4.1.3 or later.
  1554.         SPARCstation 10 models 52, 54: SunOS 5.1 or later.
  1555.         SPARCclassic, SPARCstation LX: SunOS 5.1 or later.
  1556.  
  1557.         In particular, the SPARCclassic, LX, or any *multiprocessor*
  1558.         SPARCstation 10 will *NOT* run SunOS 4.1.3 or any version of
  1559.         SunOS earlier than 5.1.
  1560.  
  1561.         SunOS 5.0 runs only on SS1,1+,2,SLC,IPC,ELC,IPX.
  1562.  
  1563.         SunOS 5.1 runs on all Sun4s and SPARCstations, but the FPU's on
  1564.         the 4/100 and 4/200 series machines are disabled.
  1565.  
  1566. 62)    My rdump is failing with a "Protocol botched" message. What do I do?
  1567.  
  1568.         The problem produces output like the following:
  1569.  
  1570.           DUMP: Date of this level 0 dump: Wed Jan  6 08:50:01 1993
  1571.           DUMP: Date of last level 0 dump: the epoch
  1572.           DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo
  1573.           DUMP: mapping (Pass I) [regular files]
  1574.           DUMP: mapping (Pass II) [directories]
  1575.           DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
  1576.           DUMP: Protocol to remote tape server botched (in rmtgets).
  1577.          rdump: Lost connection to remote host.
  1578.           DUMP: Bad return code from dump: 1
  1579.  
  1580.         This occurs when something in .cshrc on the remote machine prints
  1581.         something to stdout or stderr (eg. stty, echo). The rdump command
  1582.         doesn't expect this, and chokes. Other commands which use the rsh
  1583.         protocol (eg. rdist, rtar) may also be affected.
  1584.  
  1585.         The way to get around this is to add the following line near the
  1586.         beginning of .cshrc, before any command that might send something
  1587.         to stdout or stderr:
  1588.  
  1589.         if ( ! $?prompt ) exit
  1590.  
  1591.         This causes .cshrc to exit when prompt isn't set, which
  1592.         distinguishes between remote commands (eg. rdump, rsh) where these
  1593.         variables are not set, and interactive sessions (eg. rlogin) where
  1594.         they are.
  1595.  
  1596.  
  1597. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  1598.         
  1599.         SunOS 4.x          SunOS 5.x             
  1600.         Command            Equivalent               
  1601.         
  1602.         add_services       pkgadd                      
  1603.         arch               uname -m                  
  1604.                    Note: This returns the kernel architecture.
  1605.         bar                Not available. Use   
  1606.                            cpio -H bar to retrieve
  1607.                    4.x archives.
  1608.         
  1609.         biff -y            chmod o+x /dev/tty
  1610.         biff -n            chmod o-x /dev/tty
  1611.         cc                 Not available
  1612.         dbxtool            debugger
  1613.         devinfo           prtconf
  1614.         df                 df -k
  1615.         dkctl              Not available
  1616.         dkinfo             prtvtoc
  1617.         du                 du -k
  1618.         dump               /usr/sbin/ufsdump
  1619.         dumpfs             Not available
  1620.         etherfind          snoop
  1621.         exportfs           share
  1622.         extract_files      Not available
  1623.         extract_patch      Not available
  1624.         extract_unbundled  pkgadd
  1625.         fastboot           reboot or init 6
  1626.         fasthalt           init O
  1627.         hostid             sysdef -h
  1628.         hostname           uname -n
  1629.         intr               Not available
  1630.         leave              Use cron and at
  1631.         lint               Not available
  1632.         load                 pkgadd
  1633.         loadc                pkgadd
  1634.         load_package         Not available
  1635.         lpc                  lpadmin
  1636.         lpd                  lpsched
  1637.         lpq                  lpstat
  1638.         lpr                  lp
  1639.         lprm                 cancel
  1640.         lptest               Not available
  1641.         mach                 uname  -p
  1642.         modstat              modinfo
  1643.         mount                mount  -F <fstype> [options]
  1644.         mountall             mount -a
  1645.         mount_tfs            mount  -F <fstype>
  1646.         pax                  cpio
  1647.         paxcpio              cpio
  1648.         portmap              rpcbind
  1649.         printenv             env
  1650.         ps -a                ps -e
  1651.         ps -aux              ps -el
  1652.          Note: when ps is  invoked without the "-f" flag, the SV
  1653.              "ps" prints  only the first N characters of the name 
  1654.              of the program being run. You have to pass the "-f" 
  1655.              flag to get the full command line. For example, try
  1656.              ps -fe.
  1657.  
  1658.         pstat                sar
  1659.         pstat -s             swap -s
  1660.         rdump                /usr/sbin/ufsdump
  1661.         restore              /usr/sbin/ufsrestore
  1662.         rm_client            admintool
  1663.         rm_services          Not available
  1664.         rpc.etherd           Not available
  1665.         rpc.lockd          /usr/lib/nfs/lockd         
  1666.         rpc.mountd         /usr/lib/nfs/mountd        
  1667.         rpc.rexd           /usr/sbin/rpc.rexd
  1668.         rpc.rquotad        /usr/sbin/rpc.rquotad
  1669.         rpc.showfhd        Not available
  1670.         rpc.statd          /usr/lib/nfs/statd         
  1671.         rpc.user_agentd    Not available 
  1672.         rpc.yppasswdd      Not available 
  1673.         rpc.ypupdated      ypupdated     
  1674.         rrestore            /usr/sbin/ufsrestore    
  1675.         rusage             Not available 
  1676.         showmount          dfmounts 
  1677.         swapon                swap -a        
  1678.         sys-config       admintool
  1679.         umount -a        umountall         
  1680.         umount_tfs       umount -F <fstype>
  1681.         unload             pkgrm
  1682.         update             fsflush
  1683.         uptime            who -b
  1684.         users              who -q
  1685.         vipw               Not available
  1686.         wall               /usr/sbin/wall
  1687.         whereis            Not available
  1688.         whoami             id
  1689.         ypbatchupd         Not available
  1690.         yppasswd           Use nispasswd for NIS+
  1691.         ypserv             Not available
  1692.  
  1693.     Notes:  A NIS server is no longer available under Solaris2.x.
  1694.         Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs 
  1695.         for useful programs and commands. Finally, some of
  1696.         missing commands are in the BSD Compatibility package.
  1697.  
  1698.     
  1699.     
  1700. 64)     How do I setup DNS on Solaris2.x?
  1701.  
  1702.     The "Setting up DNS clients" chapter of that manual is egregiously 
  1703.     out of date.  Yes, there's a bug filed against it.  
  1704.     The correct procedure is the following:
  1705.  
  1706.            Create a /etc/resolv.conf file.
  1707.  
  1708.            Change /etc/nsswitch.conf;  it's probably easiest 
  1709.     to start with the sample file "/etc/nsswitch.files" and change 
  1710.     the entry for "hosts" to the following:
  1711.  
  1712.                 hosts: files dns
  1713.  
  1714.            Processes that have already read /etc/nsswitch.conf won't see your
  1715.     changes until they're restarted.  If you care, the crude but effective
  1716.     approach is to reboot.
  1717.  
  1718. 65)+    Can a SPARCclassic or LX run SunOS 4.1.3?
  1719.  
  1720.     No it won't run 4.1.3. Not only because SUN says so, but it gives a
  1721.     'data exception' when starting the generic 4m kernel after booting off
  1722.     the 4.1.3 CD. It runs the boot program OK though, both from CD and from
  1723.     network.
  1724.  
  1725. -- 
  1726. Rob Montjoy                           - Rob.Montjoy@UC.Edu
  1727. Computer Engineer                      - montjoy@ucbeh.BITNET
  1728. University of Cincinnati              - montjoy@babbage.ece.uc.edu
  1729. Electrical and Computer Engineering    - uunet!uceng!rmontjoy
  1730.  
  1731. --  To Save the Earth. The Humans must die.
  1732.  
  1733. -- 
  1734. Rob Montjoy                           - Rob.Montjoy@UC.Edu
  1735. Computer Engineer                      - montjoy@ucbeh.BITNET
  1736. University of Cincinnati              - montjoy@babbage.ece.uc.edu
  1737. Electrical and Computer Engineering    - uunet!uceng!rmontjoy
  1738.  
  1739. --  To Save the Earth. The Humans must die.
  1740.